<button (click)="invite()">连接</button>
<button (click)="closeVideoCall()">关闭</button>



<div>

  <div>
    <span>Remote</span>
    <video id="remote" controls autoplay #remote></video>

  </div>
  <div>
    <span>Local</span>
    <video id="me" controls autoplay #me></video>

  </div>


</div>

<div>

  <input type="text" [(ngModel)]="username" >
  <button (click)="connect()">连接</button>
  <button (click)="offSocket()">关闭</button>

  <input type="text" [(ngModel)]="targetUsername">


</div>
